package com.it.data_linkedList.both_way;

/**
 * @Author: Coke
 * @DateTime: 2023/05/14/18:33
 * @注释: 双向链表节点类
 **/
public class BothNode {
    BothNode prev; // 上一个节点
    int value; // 值
    BothNode next; // 下一个节点
    
    public BothNode (BothNode prev, int value, BothNode next) {
        this.prev = prev;
        this.value = value;
        this.next = next;
    }
    
    public BothNode () {
    }
}
